<!--
*Author：jxx
 *Contact：283591387@qq.com
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *业务请在@/extension/demo/orderstyle/OrderStyle.js此处编写
 -->
<template>
    <div>
        <view-grid
                   ref="grid"
                   :columns="columns"
                   :detail="detail"
                   :editFormFields="editFormFields"
                   :editFormFileds="editFormFields"
                   :editFormOptions="editFormOptions"
                   :searchFormFields="searchFormFields"
                   :searchFormFileds="searchFormFields"
                   :searchFormOptions="searchFormOptions"
                   :table="table"
                   :extend="extend">
        </view-grid>
    </div>
</template>

<script>
    import extend from "@/extension/demo/orderstyle/OrderStyle.js";
    import ViewGrid from "@/components/basic/ViewGrid.vue";
    var vueParam = {
        components: {
            ViewGrid
        },
        data() {
            return {
                table: {
                    key: 'ID',
                    footer: "Foots",
                    cnName: '款式信息',
                    name: 'orderstyle/OrderStyle',
                    url: "/OrderStyle/",
                    sortName: "ID"
                },
                extend: extend,
                editFormFields: {},
                editFormOptions: [],
                searchFormFields: {"Code":"","Name":"","CCount":"","ExportPrice":"","MonetaryUnit":""},
                searchFormOptions: [[{"title":"","field":"Code","type":"like"},{"title":"","field":"Name","type":"like"},{"title":"","field":"CCount","type":"decimal"}],[{"title":"","field":"MonetaryUnit","type":"number"},{"title":"","field":"ExportPrice","type":"decimal"}]],
                columns: [{field:'ID',title:'ID',type:'int',width:110,require:true,align:'left',sort:true},
                       {field:'DocTreeID',title:'DocTreeID',type:'int',width:110,require:true,align:'left'},
                       {field:'Code',title:'Code',type:'string',sort:true,width:120,require:true,align:'left'},
                       {field:'Name',title:'Name',type:'string',sort:true,width:220,align:'left'},
                       {field:'ParentCustomID',title:'ParentCustomID',type:'int',width:110,align:'left'},
                       {field:'CustomID',title:'CustomID',type:'int',width:110,align:'left'},
                       {field:'CustomOrderNo',title:'CustomOrderNo',type:'string',width:120,align:'left'},
                       {field:'CustomStyleCode',title:'CustomStyleCode',type:'string',width:120,align:'left'},
                       {field:'CustomStyleName',title:'CustomStyleName',type:'string',width:120,align:'left'},
                       {field:'CompanyOrderNo',title:'CompanyOrderNo',type:'string',width:120,align:'left'},
                       {field:'CCount',title:'CCount',type:'decimal',sort:true,width:110,align:'left'},
                       {field:'Unit',title:'Unit',type:'int',width:110,align:'left'},
                       {field:'IECoefficient',title:'IECoefficient',type:'int',width:110,align:'left'},
                       {field:'StandCount',title:'StandCount',type:'int',width:110,align:'left'},
                       {field:'StateFlag',title:'StateFlag',type:'string',width:110,align:'left'},
                       {field:'GoodsType',title:'GoodsType',type:'int',width:110,align:'left'},
                       {field:'MainMatType',title:'MainMatType',type:'int',width:110,align:'left'},
                       {field:'MainMatElement',title:'MainMatElement',type:'int',width:110,align:'left'},
                       {field:'QuotaType',title:'QuotaType',type:'int',width:110,align:'left'},
                       {field:'TradeWay',title:'TradeWay',type:'int',width:110,align:'left'},
                       {field:'PriceItem',title:'PriceItem',type:'int',width:110,align:'left'},
                       {field:'PriceItemArea',title:'PriceItemArea',type:'int',width:110,align:'left'},
                       {field:'ExchangeRate',title:'ExchangeRate',type:'string',width:110,align:'left'},
                       {field:'IsUrgencyOrder',title:'IsUrgencyOrder',type:'bool',width:110,align:'left'},
                       {field:'BalanceType',title:'BalanceType',type:'int',width:110,align:'left'},
                       {field:'LetterOfCreditNo',title:'LetterOfCreditNo',type:'int',width:110,align:'left'},
                       {field:'ExportPrice',title:'ExportPrice',type:'decimal',sort:true,width:110,align:'left'},
                       {field:'MonetaryUnit',title:'MonetaryUnit',type:'int',width:110,align:'left'},
                       {field:'PlanOrderDate',title:'PlanOrderDate',type:'datetime',width:150,align:'left',sort:true},
                       {field:'FactOrderDate',title:'FactOrderDate',type:'datetime',width:150,align:'left',sort:true},
                       {field:'FactOrderPerson',title:'FactOrderPerson',type:'int',width:110,align:'left'},
                       {field:'TechnicPerson',title:'TechnicPerson',type:'int',width:110,align:'left'},
                       {field:'MeasureUnit',title:'MeasureUnit',type:'int',width:110,align:'left'},
                       {field:'OperationManager',title:'OperationManager',type:'int',width:110,align:'left'},
                       {field:'TechnicalManager',title:'TechnicalManager',type:'int',width:110,align:'left'},
                       {field:'ViceManager',title:'ViceManager',type:'int',width:110,align:'left'},
                       {field:'IsNeedQuote',title:'IsNeedQuote',type:'bool',width:110,align:'left'},
                       {field:'QuoteDate',title:'QuoteDate',type:'datetime',width:150,align:'left',sort:true},
                       {field:'SpilthCutoutPercent',title:'SpilthCutoutPercent',type:'decimal',width:110,align:'left'},
                       {field:'CutInPercent',title:'CutInPercent',type:'decimal',width:110,align:'left'},
                       {field:'QuotityStandard',title:'QuotityStandard',type:'decimal',width:110,align:'left'},
                       {field:'Brief',title:'Brief',type:'string',width:220,align:'left'},
                       {field:'ProducingArea',title:'ProducingArea',type:'string',width:180,align:'left'},
                       {field:'FactoryName',title:'FactoryName',type:'string',width:180,align:'left'},
                       {field:'DealWithDate',title:'DealWithDate',type:'datetime',width:150,align:'left',sort:true},
                       {field:'EstimateAmount',title:'EstimateAmount',type:'decimal',width:110,align:'left'},
                       {field:'EstimateProfit',title:'EstimateProfit',type:'decimal',width:110,align:'left'},
                       {field:'EstimateGoodsMoney',title:'EstimateGoodsMoney',type:'decimal',width:110,align:'left'},
                       {field:'ModifyContent',title:'ModifyContent',type:'string',width:220,align:'left'},
                       {field:'OrderLevel',title:'OrderLevel',type:'int',width:110,align:'left'},
                       {field:'IsSinglePrice',title:'IsSinglePrice',type:'bool',width:110,align:'left'},
                       {field:'FactoryID',title:'FactoryID',type:'int',width:110,align:'left'},
                       {field:'IECharge',title:'IECharge',type:'decimal',width:110,align:'left'},
                       {field:'NameEn',title:'NameEn',type:'string',width:180,align:'left'},
                       {field:'SessionType',title:'SessionType',type:'string',width:120,align:'left'},
                       {field:'BusinessStyleDocTreeID',title:'BusinessStyleDocTreeID',type:'int',width:110,align:'left'},
                       {field:'IsBreakDown',title:'IsBreakDown',type:'bool',width:110,require:true,align:'left'},
                       {field:'BreakDownDate',title:'BreakDownDate',type:'datetime',width:150,align:'left',sort:true},
                       {field:'LastModifiedMemo',title:'LastModifiedMemo',type:'string',width:180,align:'left'},
                       {field:'LastModifiedDate',title:'LastModifiedDate',type:'datetime',width:150,align:'left',sort:true},
                       {field:'MainMaterial',title:'MainMaterial',type:'int',width:110,align:'left'},
                       {field:'LogisticsProvider',title:'LogisticsProvider',type:'int',width:110,align:'left'},
                       {field:'IsSingleCostPrice',title:'IsSingleCostPrice',type:'bool',width:110,align:'left'},
                       {field:'CostPrice',title:'CostPrice',type:'decimal',width:110,align:'left'},
                       {field:'DesignTypeID',title:'DesignTypeID',type:'int',width:110,align:'left'},
                       {field:'MainMaterialRequireDate',title:'MainMaterialRequireDate',type:'datetime',width:150,align:'left',sort:true},
                       {field:'LastModifiedUserID',title:'LastModifiedUserID',type:'int',width:110,align:'left'},
                       {field:'Editionhandle',title:'Editionhandle',type:'string',width:120,align:'left'},
                       {field:'ShowPrice',title:'ShowPrice',type:'string',width:110,align:'left'},
                       {field:'IsSingleShowPrice',title:'IsSingleShowPrice',type:'bool',width:110,align:'left'},
                       {field:'CustomClothBrand',title:'CustomClothBrand',type:'string',width:120,align:'left'},
                       {field:'SingleTurn',title:'SingleTurn',type:'string',width:220,align:'left'},
                       {field:'OrderMemo',title:'OrderMemo',type:'string',width:220,align:'left'},
                       {field:'StyleNo',title:'StyleNo',type:'int',width:110,align:'left'},
                       {field:'CuttingNo',title:'CuttingNo',type:'string',width:220,align:'left'},
                       {field:'ModelNo',title:'ModelNo',type:'string',width:120,align:'left'},
                       {field:'PriceMarkup',title:'PriceMarkup',type:'string',width:110,align:'left'},
                       {field:'WarehouseID',title:'WarehouseID',type:'int',width:110,align:'left'},
                       {field:'CustomBuyer',title:'CustomBuyer',type:'int',width:110,align:'left'},
                       {field:'LogoLibrary',title:'LogoLibrary',type:'int',width:110,align:'left'},
                       {field:'CountryName',title:'CountryName',type:'string',width:110,align:'left'},
                       {field:'CountryNum',title:'CountryNum',type:'decimal',width:110,align:'left'},
                       {field:'OldDocTreeID',title:'OldDocTreeID',type:'int',width:110,align:'left'},
                       {field:'MethodTypeID',title:'MethodTypeID',type:'int',width:110,align:'left'},
                       {field:'EstimateCostID',title:'EstimateCostID',type:'int',width:110,align:'left'},
                       {field:'IsStockFile',title:'IsStockFile',type:'bool',width:110,align:'left'},
                       {field:'division',title:'division',type:'int',width:110,align:'left'},
                       {field:'ExtraDateField1',title:'ExtraDateField1',type:'datetime',width:150,align:'left',sort:true},
                       {field:'ExtraDateField2',title:'ExtraDateField2',type:'datetime',width:150,align:'left',sort:true},
                       {field:'ExtraDateField3',title:'ExtraDateField3',type:'datetime',width:150,align:'left',sort:true},
                       {field:'ExtraDateField4',title:'ExtraDateField4',type:'datetime',width:150,align:'left',sort:true},
                       {field:'ExtraDateField5',title:'ExtraDateField5',type:'datetime',width:150,align:'left',sort:true},
                       {field:'ExtraRemarkField1',title:'ExtraRemarkField1',type:'string',width:220,align:'left'},
                       {field:'ExtraRemarkField2',title:'ExtraRemarkField2',type:'string',width:220,align:'left'},
                       {field:'ExtraRemarkField3',title:'ExtraRemarkField3',type:'string',width:220,align:'left'},
                       {field:'ExtraRemarkField4',title:'ExtraRemarkField4',type:'string',width:220,align:'left'},
                       {field:'ExtraRemarkField5',title:'ExtraRemarkField5',type:'string',width:220,align:'left'},
                       {field:'OrderYear',title:'OrderYear',type:'string',width:110,align:'left'},
                       {field:'SAPNumber',title:'SAPNumber',type:'string',width:110,align:'left'},
                       {field:'FactoryArea',title:'FactoryArea',type:'int',width:110,align:'left'},
                       {field:'AvgPrice',title:'AvgPrice',type:'decimal',width:110,align:'left'},
                       {field:'AvgPriceUom',title:'AvgPriceUom',type:'int',width:110,align:'left'},
                       {field:'SODate',title:'SODate',type:'datetime',width:150,align:'left',sort:true},
                       {field:'FirstPODate',title:'FirstPODate',type:'datetime',width:150,align:'left',sort:true},
                       {field:'ChangeFactoryWINumber',title:'ChangeFactoryWINumber',type:'string',width:110,align:'left'},
                       {field:'CustomerCode',title:'CustomerCode',type:'string',width:220,align:'left'},
                       {field:'SaleScope',title:'SaleScope',type:'string',width:220,align:'left'},
                       {field:'SaleGroup',title:'SaleGroup',type:'string',width:220,align:'left'},
                       {field:'SalePath',title:'SalePath',type:'string',width:220,align:'left'},
                       {field:'CustomerDepart',title:'CustomerDepart',type:'string',width:220,align:'left'},
                       {field:'CustomerContact',title:'CustomerContact',type:'string',width:110,align:'left'},
                       {field:'Consignee',title:'Consignee',type:'string',width:220,align:'left'},
                       {field:'WashSpecial',title:'WashSpecial',type:'string',width:220,align:'left'},
                       {field:'WashLanguage',title:'WashLanguage',type:'string',width:220,align:'left'},
                       {field:'Remarks_Cutting',title:'Remarks_Cutting',type:'string',width:220,align:'left'},
                       {field:'ModalScale',title:'ModalScale',type:'string',width:220,align:'left'},
                       {field:'HasEarlyCommit',title:'HasEarlyCommit',type:'bool',width:110,require:true,align:'left'},
                       {field:'EarlyCommitRemark',title:'EarlyCommitRemark',type:'string',width:220,align:'left'},
                       {field:'IsFinal',title:'IsFinal',type:'bool',width:110,require:true,align:'left'},
                       {field:'FinalDate',title:'FinalDate',type:'datetime',width:150,align:'left',sort:true},
                       {field:'FirstFabricDate',title:'FirstFabricDate',type:'datetime',width:150,align:'left',sort:true},
                       {field:'MakePerson',title:'MakePerson',type:'string',width:110,align:'left'},
                       {field:'IsUpdate',title:'IsUpdate',type:'bool',width:110,align:'left'},
                       {field:'OrderStyleType',title:'OrderStyleType',type:'int',width:110,align:'left'},
                       {field:'SAPCode',title:'SAPCode',type:'int',width:110,align:'left'},
                       {field:'PayCondition',title:'PayCondition',type:'int',width:110,align:'left'},
                       {field:'OrderSalesType',title:'OrderSalesType',type:'int',width:110,align:'left'},
                       {field:'StyleCode',title:'StyleCode',type:'int',width:110,align:'left'},
                       {field:'ProductWorkType',title:'ProductWorkType',type:'int',width:110,align:'left'},
                       {field:'OrderDate',title:'OrderDate',type:'int',width:110,align:'left'},
                       {field:'SamplePhaseType',title:'SamplePhaseType',type:'int',width:110,align:'left'},
                       {field:'SampleStyle',title:'SampleStyle',type:'int',width:110,align:'left'},
                       {field:'CheckState',title:'CheckState',type:'int',width:110,require:true,align:'left'},
                       {field:'SendSignDate',title:'SendSignDate',type:'datetime',width:150,align:'left',sort:true},
                       {field:'CheckStateReturnDate',title:'CheckStateReturnDate',type:'datetime',width:150,align:'left',sort:true},
                       {field:'EmailDate',title:'EmailDate',type:'datetime',width:150,align:'left',sort:true},
                       {field:'MainVersion',title:'MainVersion',type:'int',width:110,align:'left'},
                       {field:'MinorVersion',title:'MinorVersion',type:'int',width:110,align:'left'},
                       {field:'BigStyleCode',title:'BigStyleCode',type:'string',width:120,align:'left'},
                       {field:'IsPurchaseAll',title:'IsPurchaseAll',type:'bool',width:110,align:'left'},
                       {field:'SessionTypeTwo',title:'SessionTypeTwo',type:'int',width:110,align:'left'},
                       {field:'WashType',title:'WashType',type:'int',width:110,align:'left'},
                       {field:'SAPGUID',title:'SAPGUID',type:'int',width:110,align:'left'},
                       {field:'CheckRemark',title:'CheckRemark',type:'string',width:220,align:'left'},
                       {field:'IsSending',title:'IsSending',type:'int',width:110,align:'left'},
                       {field:'ischanged',title:'ischanged',type:'int',width:110,align:'left'},
                       {field:'CheckRules',title:'CheckRules',type:'string',width:180,align:'left'},
                       {field:'OsDigitalVersion',title:'OsDigitalVersion',type:'int',width:110,align:'left'},
                       {field:'IsVMI',title:'IsVMI',type:'bool',width:110,align:'left'},
                       {field:'IsTransfer',title:'IsTransfer',type:'bool',width:110,align:'left'},
                       {field:'TransferNotes',title:'TransferNotes',type:'string',width:220,align:'left'},
                       {field:'NewFactoryArea',title:'NewFactoryArea',type:'int',width:110,align:'left'},
                       {field:'OriFactoryArea',title:'OriFactoryArea',type:'int',width:110,align:'left'},
                       {field:'IsOrderShipMatch',title:'IsOrderShipMatch',type:'bool',width:110,align:'left'},
                       {field:'OrderShipMatchPrice',title:'OrderShipMatchPrice',type:'decimal',width:110,align:'left'},
                       {field:'IsEstCostFactory',title:'IsEstCostFactory',type:'bool',width:110,align:'left'},
                       {field:'EstCostFactoryPrice',title:'EstCostFactoryPrice',type:'string',width:120,align:'left'},
                       {field:'ExportPriceCache',title:'ExportPriceCache',type:'decimal',width:110,align:'left'},
                       {field:'ApplyNumber',title:'ApplyNumber',type:'string',width:110,align:'left'},
                       {field:'MailState',title:'MailState',type:'int',width:110,align:'left'},
                       {field:'SAPLastModifiedDate',title:'SAPLastModifiedDate',type:'datetime',width:150,align:'left',sort:true},
                       {field:'PDMSOToBPMSend',title:'PDMSOToBPMSend',type:'string',width:110,align:'left'},
                       {field:'PDMSOToBPMRet',title:'PDMSOToBPMRet',type:'string',width:110,align:'left'},
                       {field:'SOSignResultToDNA',title:'SOSignResultToDNA',type:'string',width:220,align:'left'},
                       {field:'SAPLastmodifydate',title:'SAPLastmodifydate',type:'datetime',width:150,align:'left',sort:true},
                       {field:'IsSoEntry',title:'IsSoEntry',type:'bool',width:110,align:'left'},
                       {field:'SoEntryDate',title:'SoEntryDate',type:'datetime',width:150,align:'left',sort:true},
                       {field:'BeforeEntryCheckState',title:'BeforeEntryCheckState',type:'int',width:110,align:'left'},
                       {field:'BeforeEntryMainVersion',title:'BeforeEntryMainVersion',type:'int',width:110,align:'left'},
                       {field:'BeforeEntryMinorVersion',title:'BeforeEntryMinorVersion',type:'int',width:110,align:'left'},
                       {field:'AfterEntryCheckState',title:'AfterEntryCheckState',type:'int',width:110,align:'left'},
                       {field:'AfterEntryMainVersion',title:'AfterEntryMainVersion',type:'int',width:110,align:'left'},
                       {field:'AfterEntryMinorVersion',title:'AfterEntryMinorVersion',type:'int',width:110,align:'left'},
                       {field:'IsSendingDate',title:'IsSendingDate',type:'datetime',width:150,align:'left',sort:true},
                       {field:'IsSendingAfterSign',title:'IsSendingAfterSign',type:'int',width:110,align:'left'},
                       {field:'IsSendingAfterSignDate',title:'IsSendingAfterSignDate',type:'datetime',width:150,align:'left',sort:true},
                       {field:'IsSendingByMultiple',title:'IsSendingByMultiple',type:'int',width:110,align:'left'},
                       {field:'IsSendingByMultipleDate',title:'IsSendingByMultipleDate',type:'datetime',width:150,align:'left',sort:true},
                       {field:'ModifiedTimeForSyn',title:'ModifiedTimeForSyn',type:'datetime',width:150,align:'left',sort:true},
                       {field:'IsClosed',title:'IsClosed',type:'bool',width:110,align:'left'},
                       {field:'MailDate',title:'MailDate',type:'datetime',width:150,align:'left',sort:true},
                       {field:'StyleExistsApply',title:'StyleExistsApply',type:'bool',width:110,align:'left'},
                       {field:'ChangeVersionDate',title:'ChangeVersionDate',type:'datetime',width:150,align:'left',sort:true},
                       {field:'TransferFactoryNotes',title:'TransferFactoryNotes',type:'string',width:120,align:'left'}],
                detail: {
                    cnName: "#detailCnName",
                    table: "#detailTable",
                    columns: [],
                    sortName: "",
                    key:""
                }
            };
        }
    };
    export default vueParam;
</script>
